package org.springblade.modules.admin.dto.parts;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author zcc
 * @version 1.0
 * @date 2022/6/28 16:01
 */
@Data
@ApiModel("报价查询表")
public class SparepartPricesSearchDTO {


	@ApiModelProperty("当前页")
	private Integer current;

	@ApiModelProperty("每页的数量")
	private Integer size;

	@ApiModelProperty("项目id")
	private Long buildingId;

	@ApiModelProperty("报价员")
	private String  priceCheckName;

	@ApiModelProperty("申请开始时间")
	private Date createBeginTime;

	@ApiModelProperty("申请结束时间")
	private Date createEndTime;

	@ApiModelProperty("申请人")
	private String createUserName;

	@ApiModelProperty("配件名称")
	private String partName;

	@ApiModelProperty("配件编号")
	private String partNO;

	@ApiModelProperty("工单编号")
	private Long planId;

	@ApiModelProperty("配件工单id")
	private Long partsPlanId;

	@ApiModelProperty("报价状态0:未报价，1：已报价")
	private Integer  priceStatus;

	@ApiModelProperty("转审开始时间")
	private Date  transferBeginTime;

	@ApiModelProperty("转审开始时间")
	private Date  transferEndTime;

	@ApiModelProperty("报价或者分配开始时间")
	private Date  checkBeginTime;

	@ApiModelProperty("报价或者分配审批结束时间")
	private Date  checkEndTime;

	@ApiModelProperty("仓库员名称")
	private String warehouseUserName;

	@ApiModelProperty("仓库审核状态仓库审核状态 0:未发货 1：已发货, 2 待发货")
	private Integer warehouseStatus;

	@ApiModelProperty("仓管审核时间")
	private Date warehouseCreateBeginTime;

	@ApiModelProperty("仓管审核时间")
	private Date warehouseCreateEndTime;

	private String planUserName;

	private Integer status;

	@ApiModelProperty("工单状态批量查询")
	private List<Integer> planStatus;

	@ApiModelProperty("任务关联id")
	private Long parentPlanId;

	@ApiModelProperty("1:配件审批2:仓库发货")
	private Integer searchType;

	@ApiModelProperty("1-待审批，2-通过，3-驳回, 4-撤回,5-退回")
	private Integer checkStatus;

	@ApiModelProperty("实际执行人")
	private List<Long> realUserIds;

	@ApiModelProperty("工单分配人")
	private List<Long> planUserIds;

	private Integer isStop;

	@ApiModelProperty(value = "工单id集合")
	private List<Long> planIds;

	/**
	 * 紧急程度
	 */
	private Integer emerProcType;

	/**
	 * 工单类型
	 */
	@ApiModelProperty(value = "工单类型 1-内部整改 2-客户报障")
	private Integer workOrderType;

	/**
	 * 2024-05-31 新增梯号
	 */
	private String elevatorAddress;

	/**
	 * 2024-05-31 新增来源工单类型筛选条件
	 */
	private Integer sourcePlanType;

	private Long elevatorId;

	@ApiModelProperty("创建时间")
	private Date createTime;
}
